/**
 * 用户相关状态数据
 *
 * @author 济南晨霜信息技术有限公司
 * @mobile 18560000860 / 18754137913
 */
import { ref } from "vue";
import { defineStore } from "pinia";
import persistCommonConfig from "@/stores/persist-common-config";

// 定义状态数据
export const useDemoStore = defineStore(
    "demo",
    () => {
        // 用户数据
        const xx = ref(null);

        return {
            xx
        };
    },
    {
        // pinia-plugin-persistedstate 插件配置
        persist: persistCommonConfig
    }
);
